package com.mall.dorm.dal.entitys;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Classname Building
 * @Description
 * @Date 2021/11/19 21:52
 * @Author terrance_swn
 */
@Table(name = "tb_building_room")
@Data
public class BuildingRoom {
    @Id
    private Integer id;
    @Column(name = "building_id")
    private String buildingId;
    @Column(name = "room_name")
    private String roomName;
    //单元号
    @Column(name = "building_unit_no")
    private Integer buildingUnitNo;
    private String gender;
    @Column(name = "total_capacity")
    private Integer totalCapacity;
    @Column(name = "empty_no")
    private Integer emptyNo;
    @Column(name = "broken_no")
    private Integer brokenNo;
    @Column(name = "is_del")
    private Integer isDel;
}
